﻿namespace DataModel.PublicModel.MeterModel
{
    /// <summary>
    /// 数据点定义类
    /// </summary>
    public class Point
    {
        string pointName;
        double value;

        /// <summary>
        /// 点名称
        /// </summary>
        [Newtonsoft.Json.JsonProperty(PropertyName = "pointName")]
        public string PointName
        {
            get
            {
                return pointName;
            }

            set
            {
                pointName = value;
            }
        }

        /// <summary>
        /// 点值
        /// </summary>
        [Newtonsoft.Json.JsonProperty(PropertyName = "value")]
        public double Value
        {
            get
            {
                return value;
            }

            set
            {
                this.value = value;
            }
        }
    }
}